package com.taxi.remote;

import com.taxi.dto.PassengerUser;
import com.taxi.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("service-passenger-user")
public interface ServicePassengerUserClient {
    @GetMapping("/get-passenger-info/{passengerId}")
    public Result<PassengerUser> getPassengerInfo(@PathVariable("passengerId") Long passengerId);
}
